package org.ediba.siri.web.requests.search;

import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;

public class TileController extends org.ediba.siri.web.requests.TileController {
	
	public ModelAndView titleHandler(HttpServletRequest request, HttpServletResponse response, Object command){
		return new ModelAndView("title","title","SIRI > Solicitudes > Listado");
	}

	public ModelAndView stylesHandler(HttpServletRequest request, HttpServletResponse response, Object command){
		return new ModelAndView("styles");
	}
	
	public ModelAndView scriptsHandler(HttpServletRequest request, HttpServletResponse response, Object command){
		List<String> _items = new ArrayList<String>(2);
		_items.add("requests/script_list");
		_items.add("requests/list");
		return super.scriptsHandler(request, response, command).addObject("items", _items);
	}
	
}
